# package sources should be placed in ${PWD}/root
# nfpm should run from the same directory with a config
name: "clickhouse-common-static-dbg"
description: |
  debugging symbols for clickhouse-common-static
    This package contains the debugging symbols for clickhouse-common.


#
# Common packages config
arch: "${DEB_ARCH}" # amd64, arm64
platform: "linux"
version: "${CLICKHOUSE_VERSION_STRING}"
vendor: "ClickHouse Inc."
homepage: "https://clickhouse.com"
license: "Apache"
section: "database"
priority: "optional"
maintainer: "ClickHouse Dev Team <packages+linux@clickhouse.com>"
deb:
  fields:
    Source: clickhouse

# Package specific content
replaces:
- clickhouse-common-dbg
conflicts:
- clickhouse-common-dbg

contents:
- src: root/usr/lib/debug/usr/bin/clickhouse.debug
  dst: /usr/lib/debug/usr/bin/clickhouse.debug
# docs
- src: ../AUTHORS
  dst: /usr/share/doc/clickhouse-common-static-dbg/AUTHORS
- src: ../CHANGELOG.md
  dst: /usr/share/doc/clickhouse-common-static-dbg/CHANGELOG.md
- src: ../LICENSE
  dst: /usr/share/doc/clickhouse-common-static-dbg/LICENSE
- src: ../README.md
  dst: /usr/share/doc/clickhouse-common-static-dbg/README.md
